package org.rmc.demo.cfca;

import java.security.PrivateKey;

/**
 * @author ranmc
 * @date 2019/7/19
 */
public class Cert {

    private PrivateKey pk;

    private String code;

    public PrivateKey getPk() {
        return pk;
    }

    public Cert setPk(PrivateKey pk) {
        this.pk = pk;
        return this;
    }

    public String getCode() {
        return code;
    }

    public Cert setCode(String code) {
        this.code = code;
        return this;
    }

    public Cert(PrivateKey pk, String code) {
        this.pk = pk;
        this.code = code;
    }
}
